@import "../base";
@import "mixins";

body, html {
    font-size: 16px;
    background-color: #f2f2f2;
    max-width: 640px;
    margin: 0 auto;
}

.app {
    display: block;
    overflow: hidden;
}

.container {
    display: block;
}

.aboutus {
    display: block;
    padding: 15px;
    font-size: 15px;
    text-align: justify;
    overflow: hidden;
    background-color: #fff;

    * {
        max-width: 100% !important;
    }
}

.redpack {
    width: 246px;
    height: 340px;
    background-image: url("#{$image-path}/redpack.jpg");
    background-size: 100% 100%;
    border-radius: 10px;
}

.cell-arrow-right {
    position: relative;

    &::after {
        position: absolute;
        content: " ";
        width: 12px;
        height: 12px;
        border-top: 1px #aaa solid;
        border-right: 1px #aaa solid;
        top: 50%;
        right: 5px;
        margin-top: -6px;
        transform: rotate(45deg);
        transform-origin: 0 0;
        z-index: 1;
    }
}

.swipe {
    height: 200px;

    &-image {
        width: 100%;
        height: 100%;
    }
}

.global-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 5px;
    background-color: #fff;
    margin: 10px 0;

    .nav-item {
        min-width: 20%;
        max-width: 20%;
        flex: 0.2;
        padding: 10px 0;
        text-align: center;

        .nav-icon {
            text-align: center;
            margin-bottom: 5px;

            img {
                width: 40px;
                height: 40px;
                object-fit: cover;
                display: inline-block;
            }
        }

        .nav-title {
            font-size: 14px;
            text-align: center;
        }
    }
}

.home-banner {
    display: block;

    img {
        width: 100%;
        height: auto;
    }
}

@import "goods";
@import "user";
@import "cart";
@import "buynow";
@import "order";
@import "sku";
@import "video";
@import "pages";
@import "item";
@import "refund";
@import "live";
@import "post";
